
using System;
namespace ttbase
{
    static class TTConsole
    {
        public static void Log(string str)
        {
            Console.ForegroundColor = ConsoleColor.White;
            System.Console.WriteLine(str);
        }
        public static void Warn(string str)
        {
            Console.ForegroundColor = ConsoleColor.Yellow;
            System.Console.WriteLine(str);
        }
        public static void Error(string str)
        {
            Console.ForegroundColor = ConsoleColor.Red;
            System.Console.WriteLine(str);
        }
        public static void Log(object obj)
        {
            Console.ForegroundColor = ConsoleColor.White;
            System.Console.WriteLine(obj.ToString());
        }
        public static void Warn(object obj)
        {
            Console.ForegroundColor = ConsoleColor.Yellow;
            System.Console.WriteLine(obj.ToString());
        }
        public static void Error(object obj)
        {
            Console.ForegroundColor = ConsoleColor.Red;
            System.Console.WriteLine(obj.ToString());
        }

    }  
}
